//
//  ViewController.m
//  JCUIKit
//
//  Created by gome on 2018/5/15.
//  Copyright © 2018年 gome. All rights reserved.
//

#import "ViewController.h"
#import "UITextView+JCPlaceHolder.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UITextView *textView = [[UITextView alloc] initWithFrame:CGRectMake(10, 100, 300, 200)];
    [self.view addSubview:textView];
    [textView setBackgroundColor:[UIColor lightGrayColor]];
    [textView setFont:[UIFont systemFontOfSize:30]];
    
    textView.jc_placeHolder = @"请输入文字";
    textView.jc_placeHolderColor = [UIColor redColor];

    // Do any additional setup after loading the view, typically from a nib.
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
